package com.ftg.shopping.sp_roleinfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftg.shopping.sp_roleinfo.entity.SpRoleprivilegeMid;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SpRoleprivilegeMidMapper extends BaseMapper<SpRoleprivilegeMid> {

    @Insert("insert into sp_roleprivilege_mid(privilegeId,roleId) values(#{i},#{roleid})")
    int insertid(int roleid, int i);

}
